<div class="layuimini-container">
    <div class="layuimini-main">
        <form id="app-form" class="layui-form layuimini-form">
            <div class="layui-form-item">
                <label class="layui-form-label required">{:lang('user.username')}</label>
                <div class="layui-input-block">
                    <input type="text" name="username" class="layui-input" readonly value="{$row.username|default=''}">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">{:lang('user.password')}</label>
                <div class="layui-input-block">
                    <input type="password" name="password" class="layui-input" lay-verify="required"
                           placeholder="{:lang('common.input')}{:lang('user.password')}" value="">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">{:lang('user.password_new')}</label>
                <div class="layui-input-block">
                    <input type="password" name="password_new" class="layui-input" lay-verify="required"
                           placeholder="{:lang('common.input')}{:lang('user.password_new')}" value="">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">{:lang('user.password_again')}</label>
                <div class="layui-input-block">
                    <input type="password" name="password_again" class="layui-input" lay-verify="required"
                           placeholder="{:lang('common.input')}{:lang('user.password_again')}" value="">
                </div>
            </div>

            <div class="hr-line"></div>
            <div class="layui-form-item text-center">
                <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit data-refresh="false">
                    {:lang('common.btn_confirm')}
                </button>
            </div>
        </form>
    </div>
</div>
<script>
    layui.use(['myCommon'], function () {
        layui.myCommon.listen();
    });
</script>